@current
Feature: Homepage
@current
@undefinedStep
Scenario: User Navigates to Trailor Page of a series from the Home page
When
user scrolls down Clicks on the play icon for a Series
// With Callbacks
When (/^user scrolls down Clicks on the play icon for a Series$/, (callback) => {
// Write code here that turns the phrase above into concrete actions
callback(null, 'pending');
});
// With Promises
When (/^user scrolls down Clicks on the play icon for a Series$/, () => {
// Write code here that turns the phrase above into concrete actions
return Promise.resolve('pending');
});
Then
user should be navigated to Trailor page of the series
When
user scrolls down Clicks on the arrow icon for a Series
// With Callbacks
When (/^user scrolls down Clicks on the arrow icon for a Series$/, (callback) => {
// Write code here that turns the phrase above into concrete actions
callback(null, 'pending');
});
// With Promises
When (/^user scrolls down Clicks on the arrow icon for a Series$/, () => {
// Write code here that turns the phrase above into concrete actions
return Promise.resolve('pending');
});
Then
user should be navigated to the series detail page and play the trailor
AssertionError [ERR_ASSERTION]: 'LEADING THROUGH CHANGE + EPISODE 48' == 'SIMPLY PUT + EPISODE 1'
+ expected - actual
-LEADING THROUGH CHANGE + EPISODE 48
+SIMPLY PUT + EPISODE 1
at C:\Users\mbinjaved\Desktop\dev_mbj\SF-UI-Automation-Tasks\tests\assertions\homepage.assertions.ts:41:12
at Generator.next ((anonymous))
at fulfilled (C:\Users\mbinjaved\Desktop\dev_mbj\SF-UI-Automation-Tasks\tests\assertions\homepage.assertions.ts:5:58)
at runMicrotasks ((anonymous))
at processTicksAndRejections (internal/process/task_queues.js:95:5)